﻿Imports DAO
Imports DTO

Public Class TonKhoBUS
    'HuyBinh
    Public Shared Function LoadHangTonKho() As DataTable
        Return TonKhoDAO.LoadHangTonKho
    End Function

    'HuyBinh
    Public Shared Function LoadBangKhoHangTheoMa(maKhoHang As String) As DataTable
        Return TonKhoDAO.LoadBangKhoHangTheoMa(maKhoHang)
    End Function

    'HuyBinh
    Public Shared Function LayMangHangHoaTrongKho() As List(Of TonKhoDTO)
        Return TonKhoDAO.LayMangHangHoaTrongKho()
    End Function

    'HuyBinh
    Public Shared Function CapNhatSLHangTonKhoDi(hangTonKho As CTChuyenKhoDTO) As Integer
        Return TonKhoDAO.CapNhatSLHangTonKhoDi(hangTonKho)
    End Function

    'HuyBinh
    Public Shared Function CapNhatSLHangTonKhoDen(hangTonKho As CTChuyenKhoDTO) As Integer
        Return TonKhoDAO.CapNhatSLHangTonKhoDen(hangTonKho)
    End Function

    'HuyBinh
    Public Shared Function ThemHangTonKho(hangTonKho As CTChuyenKhoDTO) As Integer
        Return TonKhoDAO.ThemHangTonKho(hangTonKho)
    End Function
End Class
